package com.bgs.eat.login.service;

import com.bgs.eat.config.CommonResult;

public interface LoginService {
    /**
    * @Author hbx
    * @Description 前端账号密码登录
    * @Date 2022/10/10 20:49
    * @param userName
    * @param password
    */
    CommonResult loginByUser(String userName, String password);

    /**
    * @Author hbx
    * @Description 前端根据手机号验证登录
    * @Date 2022/10/12 10:05
    * @param phone
    * @param code
    */
    CommonResult loginByPhoneCode(String phone, String code,String codeMark);
}
